package com.mengyan.api.cms;

import com.mengyan.framework.domain.cms.CmsPage;
import com.mengyan.framework.domain.cms.request.QueryPageRequest;
import com.mengyan.framework.domain.cms.response.CmsPageResult;
import com.mengyan.framework.model.response.QueryResponseResult;
import com.mengyan.framework.model.response.ResponseResult;

public interface CmsPageControllerApi {
    //页面查询
    QueryResponseResult findList (int page, int size, QueryPageRequest queryPageRequest);
    //新增页面
    CmsPageResult add(CmsPage cmsPage);

    CmsPageResult findById(String id);

    CmsPageResult edit(String id,CmsPage cmsPage);

    ResponseResult delete(String id);
}
